#!/bin/bash
dotnet publish "./Job_WechatMedia/Job_WechatMedia.csproj" -c Release -o ./app/publish 
dotnet publish "./Job_WechatMoment/Job_WechatMoment.csproj" -c Release -o ./app/publish 
dotnet publish "./Job_WechatJournal/Job_WechatJournal.csproj" -c Release -o ./app/publish 
dotnet publish "./Job_WechatApproval/Job_WechatApproval.csproj" -c Release -o ./app/publish 
dotnet publish "./MQ_WechatMedia/MQ_WechatMedia.csproj" -c Release -o ./app/publish 
dotnet publish "./MQ_WechatCustomContact/MQ_WechatCustomContact.csproj" -c Release -o ./app/publish 
dotnet publish "./MQ_WechatMoment/MQ_WechatMoment.csproj" -c Release -o ./app/publish 
dotnet publish "./MQ_WechatJournal/MQ_WechatJournal.csproj" -c Release -o ./app/publish 
dotnet publish "./MQ_WechatApproval/MQ_WechatApproval.csproj" -c Release -o ./app/publish 
cp ./app/publish/{Job_WechatMedia.dll,Job_WechatMoment.dll,Job_WechatJournal.dll,Job_WechatApproval.dll,MQ_WechatMedia.dll,MQ_WechatCustomContact.dll,MQ_WechatMoment.dll,MQ_WechatJournal.dll,MQ_WechatApproval.dll} ./app
read -p "press enter end"